package com.obtk.property.service;

import com.github.pagehelper.Page;
import com.obtk.property.pojo.Complaint;

import java.util.List;
import java.util.Map;

public interface ComplaintService {

    List<Complaint> selB();

    List<Complaint> selC(String name);
    List<Complaint> findAll();

    Page<Complaint> search(Map searchMap);

    Boolean add(Complaint complaint);

    Complaint findById(Integer complaintId);

    Boolean update(Complaint complaint);

    Boolean del(List<Integer> ids);

    Boolean updateStatus(String status, Integer complaintId);

    Integer selectCount(Complaint complaint);
}
